c program to calculate power of integer